import { zhCN, dateZhCN, enUS, dateEnUS, enGB, dateEnGB } from 'naive-ui';
import enlocale from './en';
import engblocale from './en-GB';

enUS.DatePicker.dateTimeFormat = enlocale.date.ymdhms;
enUS.DatePicker.dateFormat = enlocale.date.ymd;
enUS.DatePicker.monthTypeFormat = enlocale.date.ym;
enUS.Time.dateFormat = enlocale.date.ymd;
enUS.Time.dateTimeFormat = enlocale.date.ymdhms;

enGB.DatePicker.dateTimeFormat = engblocale.date.ymdhms;
enGB.DatePicker.dateFormat = engblocale.date.ymd;
enGB.DatePicker.monthTypeFormat = engblocale.date.ym;
enGB.Time.dateFormat = engblocale.date.ymd;
enGB.Time.dateTimeFormat = engblocale.date.ymdhms;

export { zhCN, dateZhCN, enUS, dateEnUS, enGB, dateEnGB };
